<template>
  <el-dialog
    top="30px"
    width="1000px"
    title="盖章上传"
    append-to-body
    :close-on-click-modal="false"
    :visible.sync="visible"
    :before-close="beforeClose"
  >
    <attach-upload tags="项目确认表" :show-label="false" :batch-no="batchNo"></attach-upload>
  </el-dialog>
</template>

<script>
import AttachUpload from '@/bank/components/attach/Upload'

export default {
  components: {
    AttachUpload,
  },
  props: {
    visible: Boolean,
    batchData: {
      type: Object,
      default: () => ({}),
    },
  },
  data() {
    return {}
  },
  computed: {
    batchNo() {
      return this.batchData.project_approval_batch_bank_id
    },
  },
  watch: {},
  created() {},
  mounted() {},
  methods: {
    beforeClose() {
      this.$emit('update:visible', false)
    },
  },
}
</script>

<style lang="scss" scoped></style>
